/**
 * mysql 数据库配置
 */
const configObj = {
  production: {
    sqlConfig: {// 生成环境
      host: 'localhost',
      user: 'root',
      password: 'zhaoyj520',
      database: 'express_demo',
      port: 3306
    }
  },
  development: {// 本地环境
    sqlConfig: {
      host: 'localhost',
      user: 'root',
      password: 'zhaoyj123',
      database: 'express_demo',
      port: 3306
    }
  }
}
let configData = process.env.NODE_ENV !== 'development' ? configObj.production : configObj.development

module.exports = configData
